Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add the type and its member to the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Add ( _
type As Type, _
member As String _
)
'Usage
Dim instance As SPObjectModelTypeCollection
Dim type As Type
Dim member As String
instance.Add(type, member)
public void Add(
Type type,
string member
)
Parameters
- type
Type: System.Type
member
Type: System.StringThe case-sensitive name of a member of the type. For a set property, the name should be in the format "set_PropertyName". For a get property, the format should be "get_PropertyName". For a method the member should be the method name.
See Also
Reference
SPObjectModelTypeCollection Class