SchemaModelViewerControllerBaseInternal.ReadStateValueAsInt 方法
從結構描述檢視的持續存放裝置讀取整數值。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Protected Function ReadStateValueAsInt ( _
propertyName As String _
) As Nullable(Of Integer)
protected Nullable<int> ReadStateValueAsInt(
string propertyName
)
protected:
Nullable<int> ReadStateValueAsInt(
String^ propertyName
)
member ReadStateValueAsInt :
propertyName:string -> Nullable<int>
protected function ReadStateValueAsInt(
propertyName : String
) : Nullable<int>
參數
- propertyName
型別:System.String
屬性名稱。
傳回值
型別:System.Nullable<Int32>
整數值。如果發生錯誤則傳回 null。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
SchemaModelViewerControllerBaseInternal 類別
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間