Gets the value for the specified property.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function get_Property ( _
pszProperty As String, _
<OutAttribute> ByRef pvar As Object _
) As Integer
'使用
Dim instance As OutputGroup
Dim pszProperty As String
Dim pvar As Object
Dim returnValue As Integer
returnValue = instance.get_Property(pszProperty, _
pvar)
public virtual int get_Property(
string pszProperty,
out Object pvar
)
public:
virtual int get_Property(
String^ pszProperty,
[OutAttribute] Object^% pvar
)
public function get_Property(
pszProperty : String,
pvar : Object
) : int
Parameters
pszProperty
Type: System.StringThe name of the property to get.
pvar
Type: System.Object%[out] Returns the value of the property.
Return Value
Type: System.Int32
S_OK.
Implements
IVsOutputGroup2.get_Property(String, Object%)
Remarks
This method is an implementation of get_Property. It calls GetProjectProperty.
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.