SchemaCompareGridRow 建構函式 (SchemaCompareGridRowType, String, String, Boolean, Boolean, Boolean)
初始化 SchemaCompareGridRow 類別的新執行個體。
命名空間: Microsoft.Data.Schema.Tools.Compare.Schema
組件: Microsoft.Data.Schema.Tools (在 Microsoft.Data.Schema.Tools.dll 中)
語法
'宣告
Public Sub New ( _
schemaCompareGridRowType As SchemaCompareGridRowType, _
sourceName As String, _
targetName As String, _
selected As Boolean, _
selectedAsDependency As Boolean, _
isReferencedElement As Boolean _
)
public SchemaCompareGridRow(
SchemaCompareGridRowType schemaCompareGridRowType,
string sourceName,
string targetName,
bool selected,
bool selectedAsDependency,
bool isReferencedElement
)
public:
SchemaCompareGridRow(
SchemaCompareGridRowType schemaCompareGridRowType,
String^ sourceName,
String^ targetName,
bool selected,
bool selectedAsDependency,
bool isReferencedElement
)
new :
schemaCompareGridRowType:SchemaCompareGridRowType *
sourceName:string *
targetName:string *
selected:bool *
selectedAsDependency:bool *
isReferencedElement:bool -> SchemaCompareGridRow
public function SchemaCompareGridRow(
schemaCompareGridRowType : SchemaCompareGridRowType,
sourceName : String,
targetName : String,
selected : boolean,
selectedAsDependency : boolean,
isReferencedElement : boolean
)
參數
- schemaCompareGridRowType
型別:Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareGridRowType
SchemaCompareGridRowType 列舉的成員。
- sourceName
型別:System.String
string ,其中包含來源物件的名稱。
- targetName
型別:System.String
string ,其中包含目標物件的名稱。
- selected
型別:System.Boolean
true 表示資料列要顯示為選取狀態。
- selectedAsDependency
型別:System.Boolean
因為另一個資料列所列的項目參考該資料列,所以 true 表示要顯示該資料列。
- isReferencedElement
型別:System.Boolean
true 表示項目要顯示為從模型外部的某個項目受到參考。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。