共用方式為


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>

參數

傳回值

型別:System.Nullable<Int32>
整數值。如果發生錯誤則傳回 null。

.NET Framework 安全性

請參閱

參考

SchemaModelViewerControllerBaseInternal 類別

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間