Gets the value of a property of the supplied type from the active configuration.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Function GetTypedConfigProperty ( _
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.GetTypedConfigProperty(name, _
type)
public Object GetTypedConfigProperty(
string name,
Type type
)
public:
Object^ GetTypedConfigProperty(
String^ name,
Type^ type
)
public function GetTypedConfigProperty(
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.