GelProperty.RegisterCollectionProperty<TOwner> Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function RegisterCollectionProperty(Of TOwner) ( _
name As String, _
defaultValueCreator As Func(Of Object) _
) As GelProperty
public static GelProperty RegisterCollectionProperty<TOwner>(
string name,
Func<Object> defaultValueCreator
)
public:
generic<typename TOwner>
static GelProperty^ RegisterCollectionProperty(
String^ name,
Func<Object^>^ defaultValueCreator
)
static member RegisterCollectionProperty :
name:string *
defaultValueCreator:Func<Object> -> GelProperty
JScript does not support generic types or methods.
Type Parameters
- TOwner
Parameters
- name
Type: System.String
- defaultValueCreator
Type: System.Func<Object>
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.