从架构视图的永久性存储中读取整数值。
命名空间: 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 命名空间