Entity.GetViewDefinition 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Gets the list of fields in a given view of an entity.
命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public Function GetViewDefinition ( _
viewAccessorName As String _
) As View
用法
Dim instance As Entity
Dim viewAccessorName As String
Dim returnValue As View
returnValue = instance.GetViewDefinition(viewAccessorName)
public View GetViewDefinition (
string viewAccessorName
)
参数
- viewAccessorName
The name of the ViewAccessor method instance.
返回值
A View object.
备注
The Name of the View corresponds to the Name of the MethodInstance that provides the ViewAccessor.
另请参阅
参考
Entity 类
Entity 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间