Click or drag to resize

FeatureCollectionExtensionsSetTFeature Method

[This is preliminary documentation and is subject to change.]

Puts the specified feature instance into the feature collection.

Namespace:  JsonRpc.Server
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public static void Set<TFeature>(
	this IFeatureCollection featureCollection,
	TFeature instance
)

Parameters

featureCollection
Type: JsonRpc.ServerIFeatureCollection
The target feature collection.
instance
Type: TFeature
Feature instance, or null to remove an existing feature.

Type Parameters

TFeature
Feature type. Usually an interface type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IFeatureCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also