SourceCodePosition – konstruktor
Inicializuje novou instanci SourceCodePosition třídy pomocí zadané parametry.
Obor názvů: Microsoft.Data.Schema.SchemaModel
Sestavení: Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)
Syntaxe
'Deklarace
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
)
Parametry
- isPrimary
Typ: System.Boolean
true Pokud se jedná o primární zdroj pro prvek definuje.
- startOffset
Typ: System.Int32
Posun ve zdrojovém souboru počáteční definici.
- length
Typ: System.Int32
Délka definice.
- startLine
Typ: System.Int32
Kdy začíná definice řádku.
- startColumn
Typ: System.Int32
Sloupec, na které začíná definice.
- sourceName
Typ: System.String
Název zdroje, obvykle název souboru.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.