NewTOAPIA.Net.Rtp.SdesData.SetPrivateExtension C# (CSharp) 메소드

SetPrivateExtension() 개인적인 메소드

private SetPrivateExtension ( byte prefix, byte data ) : void
prefix byte
data byte
리턴 void
        private void SetPrivateExtension(byte[] prefix, byte[] data)
        {
            // If the collection does not exist, create it
            if (privs == null)
            {
                //privs = new Dictionary<byte[], byte[]>();
                privs = new SdesPrivateExtensionHashtable();
            }

            // Set the value (this will add if it does not exist)
            privs[prefix] = data;
        }

Same methods

SdesData::SetPrivateExtension ( string prefix, string data ) : void