Lists.DeleteContentTypeXmlDocument メソッド (websvcLists)
指定した XMLDocument 要素を、指定したリスト コンテンツ タイプから削除します。
名前空間: websvcLists
アセンブリ: STSSOAP (stssoap.dll 内)
構文
'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteContentTypeXmlDocument", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function DeleteContentTypeXmlDocument ( _
listName As String, _
contentTypeId As String, _
documentUri As String _
) As XmlNode
'使用
Dim instance As Lists
Dim listName As String
Dim contentTypeId As String
Dim documentUri As String
Dim returnValue As XmlNode
returnValue = instance.DeleteContentTypeXmlDocument(listName, contentTypeId, documentUri)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteContentTypeXmlDocument", RequestNamespace="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
public XmlNode DeleteContentTypeXmlDocument (
string listName,
string contentTypeId,
string documentUri
)
パラメータ
- listName
リスト コンテンツ タイプが格納されているリストの名前を含む文字列。
- contentTypeId
XMLDocument 要素が格納されているリスト コンテンツ タイプのコンテンツ タイプ ID を含む文字列。
documentUri
XMLDocument 要素で指定されているドキュメント URI。Windows SharePoint Services では、この URI を使用して、削除する XMLDocument 要素を正確に指定します。
戻り値
以下の形式の、メソッドが成功したことを示す文字列。
<Success xmlns="https://schemas.microsoft.com/sharepoint/soap/"/>
備考
コンテンツ タイプ定義内のユーザー設定情報を保存するには、XMLDocument 要素を使用できます。詳細については、「コンテンツ タイプのユーザー設定情報」を参照してください。
関連項目
参照
Lists クラス
Lists メンバ
websvcLists 名前空間