ObjectContext.DefaultContainerName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the default container name.
public:
property System::String ^ DefaultContainerName { System::String ^ get(); void set(System::String ^ value); };
public string DefaultContainerName { get; set; }
member this.DefaultContainerName : string with get, set
Public Property DefaultContainerName As String
Property Value
A String that is the default container name.
Remarks
DefaultContainerName never returns null
; it either returns the value that was set or an empty string. The user can set this property to null
, but internally the name will be set to an empty string, so the user never needs to check for both an empty string and null
.
The default container name is also defined as part of a constructor. If the default container name is set through the protected constructor, the property becomes read-only.