BIND_OPTS2 Structure
Contains parameters used during a moniker-binding operation.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Public Structure BIND_OPTS2
public struct BIND_OPTS2
The BIND_OPTS2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
cbStruct | Represents the size of the BIND_OPTS2 structure in bytes. | |
dwClassContext | Represents the class context that is to be used for instantiating the object. | |
dwTickCountDeadline | Represents the clock time in milliseconds. | |
dwTrackFlags | Represents a value that a moniker can use during link tracking. | |
grfFlags | Represents flags that control aspects of moniker binding operations. | |
grfMode | Represents flags that should be used when opening the file that contains the object identified by the moniker. | |
locale | Represents the LCID value indicating the client's preference for which locale to be used when binding an object. | |
pServerInfo | Allows clients to specify server information when calling IMoniker::BindToObject. |
Top
Remarks
A BIND_OPTS2 structure is stored in a bind context. The same bind context is used by each component of a composite moniker during binding, allowing the same parameters to be passed to all components of a composite moniker.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.