Share via


Schema.Uri プロパティ

定義

カスタム XML スキーマ名前空間

スキーマ内の次の属性を表します: sl:uri

[DocumentFormat.OpenXml.SchemaAttr(25, "uri")]
public DocumentFormat.OpenXml.StringValue Uri { get; set; }
public DocumentFormat.OpenXml.StringValue Uri { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(25, "uri")]
public DocumentFormat.OpenXml.StringValue? Uri { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("sl:uri")]
public DocumentFormat.OpenXml.StringValue? Uri { get; set; }
public DocumentFormat.OpenXml.StringValue? Uri { get; set; }
member this.Uri : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(25, "uri")>]
member this.Uri : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("sl:uri")>]
member this.Uri : DocumentFormat.OpenXml.StringValue with get, set
Public Property Uri As StringValue

プロパティ値

StringValue を返します。

属性

注釈

ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。

このスキーマ 参照に関連付けられている XML スキーマのターゲット名前空間を指定します。

カスタム XML 名前空間データについては、次の内容を検討してください。

…  
<w:schema w:uri="http://www.contoso.com/schema1" />  
<w:schema w:uri="http://www.contoso.com/schema2" />  
…  

属性は uri 、各 XML スキーマ参照のターゲット名前空間を指定します。

  • http://www.contoso.com/schema1

  • http://www.contoso.com/schema2

アプリケーションは、使用可能な任意の手段を使用して、これらの名前空間のスキーマを見つけて使用できます。

この属性に使用できる値は、XML スキーマ string データ型によって定義されます。

適用対象