OAProperties.AddPropertiesFromType Method

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.Type

    The type of properties to be added.

Remarks

This method adds all properties of the given type that are COM-visible and automation-browsable.

Permissions

See Also

Reference

OAProperties Class

OAProperties Members

Microsoft.VisualStudio.Package.Automation Namespace