Gets the value of a global property of the supplied type.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Function GetTypedProperty ( _
name As String, _
type As Type _
) As Object
'使用
Dim instance As SettingsPage
Dim name As String
Dim type As Type
Dim returnValue As Object
returnValue = instance.GetTypedProperty(name, _
type)
public Object GetTypedProperty(
string name,
Type type
)
public:
Object^ GetTypedProperty(
String^ name,
Type^ type
)
public function GetTypedProperty(
name : String,
type : Type
) : Object
Parameters
name
Type: System.StringThe name of the property.
type
Type: System.TypeThe type of the property value.
Return Value
Type: System.Object
An object representing a property value of the supplied type.
Permissions
- 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.