Sets the default property for the current browse object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Sub SetDefaultProperty ( _
value As PropertyDescriptor _
)
'使用
Dim instance As DataViewBrowseObject
Dim value As PropertyDescriptor
instance.SetDefaultProperty(value)
public void SetDefaultProperty(
PropertyDescriptor value
)
public:
void SetDefaultProperty(
PropertyDescriptor^ value
)
public function SetDefaultProperty(
value : PropertyDescriptor
)
Parameters
value
Type: System.ComponentModel.PropertyDescriptorA PropertyDescriptor object to set as the default property.
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.