public struct ObjectAttributes : IDisposable
Public Structure ObjectAttributes
Implements IDisposable
Dim instance As ObjectAttributes
public value class ObjectAttributes : IDisposable
[<SealedAttribute>]
type ObjectAttributes =
struct
inherit ValueType
interface IDisposable
end
No code example is currently available or this language may not be supported.
ObjectAttributes | Initializes a new instance of the ObjectAttributes struct. |
ObjectName | Gets or sets a UnicodeString that contains the name of the object for which a handle is to be opened. This must either be a fully qualified object name, or a relative path name to the directory specified by the RootDirectory member. |
Dispose | Frees any unmanaged resources used by this instance. |
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) |
Attributes | Flags that specifies object handle attributes. |
RootDirectory | Optional handle to the root object directory for the path name specified by the ObjectName member. If RootDirectory is Zero, ObjectName must point to a fully qualified object name that includes the full path to the target object. If RootDirectory is not Zero, ObjectName specifies an object name relative to the RootDirectory directory. The RootDirectory handle can refer to a file system directory or an object directory in the object manager namespace. |
SecurityDescriptor | Specifies a security descriptor for the object when the object is created. If this member is Zero, the object will receive default security settings. |
SecurityQualityOfService | Optional quality of service to be applied to the object when it is created. Used to indicate the security impersonation level and context tracking mode (dynamic or static). Currently, the InitializeObjectAttributes macro sets this member to Zero. |
SizeOfStruct | The size of the structure, in bytes. This member must be set to Marshal.SizeOf(Of ObjectAttributes) before calling any function. The InitializeObjectAttributes macro sets this member to Marshal.SizeOf(Of ObjectAttributes). |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |