次の方法で共有


SourceCodePosition コンストラクター

指定されたパラメーターを使用して、SourceCodePosition クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.Data.Schema.SchemaModel
アセンブリ:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Sub New ( _
    isPrimary As Boolean, _
    startOffset As Integer, _
    length As Integer, _
    startLine As Integer, _
    startColumn As Integer, _
    sourceName As String _
)
public SourceCodePosition(
    bool isPrimary,
    int startOffset,
    int length,
    int startLine,
    int startColumn,
    string sourceName
)
public:
SourceCodePosition(
    bool isPrimary, 
    int startOffset, 
    int length, 
    int startLine, 
    int startColumn, 
    String^ sourceName
)
new : 
        isPrimary:bool * 
        startOffset:int * 
        length:int * 
        startLine:int * 
        startColumn:int * 
        sourceName:string -> SourceCodePosition
public function SourceCodePosition(
    isPrimary : boolean, 
    startOffset : int, 
    length : int, 
    startLine : int, 
    startColumn : int, 
    sourceName : String
)

パラメーター

  • isPrimary
    型: System.Boolean
    これが、定義する要素のプライマリ ソースである場合は true。
  • startOffset
    型: System.Int32
    定義の開始を表す、ソース ファイルでのオフセット。
  • startLine
    型: System.Int32
    定義が開始される行。
  • startColumn
    型: System.Int32
    定義が開始される列。
  • sourceName
    型: System.String
    ソースの名前 (通常はファイル名)。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

SourceCodePosition クラス

Microsoft.Data.Schema.SchemaModel 名前空間