ProfilePropertyLoader.GetProperty 方法
获取属性的对象的ProfilePropertyLoader中的配置文件属性。
命名空间: Microsoft.SharePoint.Portal.WebControls
程序集: Microsoft.SharePoint.Portal(位于 Microsoft.SharePoint.Portal.dll 中)
语法
声明
Public Function GetProperty ( _
strPropName As String _
) As Property
用法
Dim instance As ProfilePropertyLoader
Dim strPropName As String
Dim returnValue As [Property]
returnValue = instance.GetProperty(strPropName)
public Property GetProperty(
string strPropName
)
参数
strPropName
类型:System.String配置文件属性的名称。
返回值
类型:Microsoft.Office.Server.UserProfiles.Property
一个属性的对象。
备注
此方法获取具有指定名称的配置文件属性。