SPPersistedObject.GetChild<T> method
會傳回指定類型為基礎的持續性物件的子系。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetChild(Of T As {New, SPPersistedObject}) As T
'用途
Dim instance As SPPersistedObject
Dim returnValue As T
returnValue = instance.GetChild()
public T GetChild<T>()
where T : new(), SPPersistedObject
Type parameters
- T
要尋找的物件。
傳回值
Type: T
代表保存物件的子類型。