SchemaModelViewerControllerBaseInternal.ReadStateValueAsInt Method
Reads an integer value from the persistent storage for Schema View.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
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>
Parameters
- propertyName
Type: System.String
Name of the property.
Return Value
Type: System.Nullable<Int32>
Value as an integer. If an error occurred, null is returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaModelViewerControllerBaseInternal Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace