Lists.CreateContentType メソッド (Microsoft.SharePoint.Portal.WebControls)
このメンバは内部使用の目的で予約されており、ユーザー コード内で直接使用することを意図したものではありません。
名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)
構文
'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/CreateContentType", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function CreateContentType ( _
listName As String, _
displayName As String, _
parentType As String, _
Fields As XmlNode, _
contentTypeProperties As XmlNode _
) As String
'使用
Dim instance As Lists
Dim listName As String
Dim displayName As String
Dim parentType As String
Dim Fields As XmlNode
Dim contentTypeProperties As XmlNode
Dim returnValue As String
returnValue = instance.CreateContentType(listName, displayName, parentType, Fields, contentTypeProperties)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/CreateContentType", RequestNamespace="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
public string CreateContentType (
string listName,
string displayName,
string parentType,
XmlNode Fields,
XmlNode contentTypeProperties
)
パラメータ
- listName
- displayName
- parentType
- Fields
- contentTypeProperties
関連項目
参照
Lists クラス
Lists メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間