SPObjectModelTypeCollection.Add method
此類型以及其成員新增至集合中。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Add ( _
type As Type, _
member As String _
)
'用途
Dim instance As SPObjectModelTypeCollection
Dim type As Type
Dim member As String
instance.Add(type, member)
public void Add(
Type type,
string member
)
參數
- type
Type: System.Type
member
Type: System.String此類型的成員區分大小寫的名稱。set屬性,名稱應該是"set_PropertyName"的格式。get屬性的格式應"get_PropertyName"。方法的成員應該是方法名稱。
請參閱
參照
SPObjectModelTypeCollection class