Adds properties of the specified type.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Sub AddPropertiesFromType ( _
targetType As Type _
)
'使用
Dim targetType As Type
Me.AddPropertiesFromType(targetType)
protected void AddPropertiesFromType(
Type targetType
)
protected:
void AddPropertiesFromType(
Type^ targetType
)
protected function AddPropertiesFromType(
targetType : Type
)
Parameters
targetType
Type: System.TypeThe type of properties to be added.
Remarks
This method adds all properties of the given type that are COM-visible and automation-browsable.
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.