UserCustomAction.RegistrationType 属性

Gets or sets the value that specifies the type of object associated with the custom action.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Property RegistrationType As UserCustomActionRegistrationType
    Get
    Set
用法
Dim instance As UserCustomAction
Dim value As UserCustomActionRegistrationType

value = instance.RegistrationType

instance.RegistrationType = value
public UserCustomActionRegistrationType RegistrationType { get; set; }

属性值

类型:Microsoft.SharePoint.Client.UserCustomActionRegistrationType
Returns a UserCustomActionRegistrationType instance representing the type of object associated with the custom action

备注

It must be List if the RegistrationId is a list identifier or list template. It must be ContentType if the RegistrationId is a content type identifier. It must be ProgID if the RegistrationId is a ProgID. It must be FileType if the RegistrationId is a file extension.

另请参阅

引用

UserCustomAction 类

UserCustomAction 成员

Microsoft.SharePoint.Client 命名空间