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 命名空间